package com.dxy.md.user.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxy.md.user.entity.User;
import org.apache.ibatis.annotations.Delete;

public interface UserMapper extends BaseMapper<User> {

    @DS("slave")
    @Delete("delete from t_user where id = #{id}")
    void deleteUser(Long id);
}
